package com.hyh.fireworks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author summerday
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Menu对象", description="菜单表")
public class Menu extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "菜单项")
    private String name;

    @ApiModelProperty(value = "父级菜单id")
    private Integer parentId;

    @ApiModelProperty(value = "菜单优先级")
    private Integer priority;

    @ApiModelProperty(value = "链接打开方式")
    private String target;

    @ApiModelProperty(value = "菜单分组")
    @TableField("`group`")
    private String group;

    @ApiModelProperty(value = "菜单url")
    private String url;


}
